import React from 'react'

//入库单分页列表
export async function apiStockInLibraryPage(params) {
    return await React.$post('/management/stockInLibrary/page', params);
}

//入库单新增
export async function apiStockInLibraryAdd(params) {
  return await React.$post('/management/stockInLibrary/add', params);
}

// 入库单删除
export async function apiStockInLibraryDel(params) {
  return await React.$post('/management/stockInLibrary/del', params);
}

// 入库单xiangqing
export async function apiStockInLibraryView(params) {
  return await React.$post('/management/stockInLibrary/view', params);
}

// 入库单明细新增
export async function apiStockInLibraryDetailsAdd(params) {
  return await React.$post('/management/stockInLibraryDetails/add', params);
}

// 入库单明细撤销
export async function apiStockInLibraryDetailsRevokeDetail(params) {
  return await React.$post('/management/stockInLibraryDetails/revokeDetail', params);
}

// 确认入库
export async function apiStockInLibraryDetailsRevokeConfirmInLibrary(params) {
  return await React.$postJson('/management/stockInLibraryDetails/confirmInLibrary/Json', params);
}
// 入库类型
export async function apiTSysDictionariesList(params) {
  return await React.$post('/management/tSysDictionaries/list', params);
}

// 备注
export async function apiPostChangeRemark(params) {
  return await React.$post('/management/stockInLibrary/changeRemark', params);
}
